package com.dreamthen.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author zengms
 * @Date 2023-11-09 21:01:36
 **/
@Controller
@RequestMapping("/interceptor")
public class InterceptorController {

    @GetMapping("/test")
    public String test(String name) {
        System.out.println("****执行业务方法*****");
        return "test";
    }

}
